package com.bigbigrain.manage_course.service;

import com.bigbigrain.framework.domain.system.SysDictionary;
import com.bigbigrain.manage_course.dao.SysDictionaryDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: B1gB1gRA1n
 * @create: 2019-12-3 15:41
 **/
@Service
public class SysdictionaryService {
    @Autowired
    SysDictionaryDao sysDictionaryDao;
    //根据字典分类type查询字典信息
    public SysDictionary findDictionaryByType(String type){
        return sysDictionaryDao.findBydType(type);
    }
}
